<?php	$atr=array(
					"name"=>"contractType",
					"onsubmit"=>"return checkContractType()"
				  ); 
	echo form_open('contractType/edit1',$atr);
	$bar="contractType Edit"; 
?> 

<table id="box-table-a" cellspacing="1" align="right" width="900px">
	<tr>
		<td colspan=7 align=right class=bar><?php echo $bar;?></td>
	</tr>
	<tr>
		<th>ContractType_ID </th>
		<th>ContractTypeName</th>
		<th>Action</th>
	</tr>
	<tr>
		<td><input type="text" name ="ContractType_ID" readonly="readonly" value=<?php echo $result->ContractType_ID; ?>></td>
   		<td><input type "text" name ="ContractTypeName" value="<?php echo $result->ContractTypeName; ?>"></td>
   		<td align="center"><input type="submit" id="submit" value="edit"/> </td>
	</tr>
</table>
</form>